TransportMechanism

enum TransportMechanism : ProtocolMessageEnum

Enum to identify which transport mechanism this packet arrived over
Protobuf enum meshtastic.MeshPacket.TransportMechanism

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Arrived via API connection
TRANSPORT_API = 7;
Link copied to clipboard

The default case is that the node generated a packet itself
TRANSPORT_INTERNAL = 0;
Link copied to clipboard

Arrived via a secondary LoRa radio
TRANSPORT_LORA_ALT1 = 2;
Link copied to clipboard

Arrived via a tertiary LoRa radio
TRANSPORT_LORA_ALT2 = 3;
Link copied to clipboard

Arrived via a quaternary LoRa radio
TRANSPORT_LORA_ALT3 = 4;
Link copied to clipboard

Arrived via the primary LoRa radio
TRANSPORT_LORA = 1;
Link copied to clipboard

Arrived via an MQTT connection
TRANSPORT_MQTT = 5;
Link copied to clipboard

Arrived via Multicast UDP
TRANSPORT_MULTICAST_UDP = 6;

Functions

Link copied to clipboard
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): MeshProtos.MeshPacket.TransportMechanism

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.